package com.dl7.mvp.video.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by tangyouke on 2/8/18.
 */

public class RcmdVideoList {

    /**
     * success : true
     * data : [{"id":229,"rank":10,"item_type":"videos","item_id":11777,"video":{"id":11777,"name":"别人的东西我不拿","image":"http://img5g22.ergedd.com/video/11777_1508303319421.png","resource":"http://video5lmv.ergedd.com/videos/11777_r_480_20171122143611_fwuc.mp4","play_count":45007672,"age_type":1,"singer":"","rank":10,"album_id":239,"status":1,"iqiyi_fileid":"3cb096dc1e9648cab8d428cb84ac9ba2","min_age":0,"max_age":8,"created_at":"2017-06-13 18:49:59","updated_at":"2018-02-11 15:08:08","deleted_at":null,"copyright_sensitive":0,"duration":200.768,"publisher_id":4,"download_type":1,"copyright_contract_id":16,"copyright_contract_start_date":"2016-12-10","copyright_contract_end_date":"2018-12-09","search_keyword":"","is_vip":2,"srt_file_url":""}},{"id":235,"rank":20,"item_type":"videos","item_id":11234,"video":{"id":11234,"name":"我的小猪","image":"http://img5g22.ergedd.com/videos/11234_20170425171923.jpg","resource":"http://video5lmv.ergedd.com/videos/11234_r_480_20171122143537_5jjf.mp4","play_count":39150897,"age_type":1,"singer":"","rank":260,"album_id":148,"status":1,"iqiyi_fileid":"","min_age":0,"max_age":8,"created_at":"2017-04-25 17:16:07","updated_at":"2018-02-11 15:04:27","deleted_at":null,"copyright_sensitive":0,"duration":99.243,"publisher_id":10,"download_type":1,"copyright_contract_id":19,"copyright_contract_start_date":"2017-04-01","copyright_contract_end_date":"2018-03-31","search_keyword":"","is_vip":2,"srt_file_url":""}}]
     * message : Get home items successfully
     */

    @SerializedName("success")
    private boolean success;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private List<DataBean> data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 229
         * rank : 10
         * item_type : videos
         * item_id : 11777
         * video : {"id":11777,"name":"别人的东西我不拿","image":"http://img5g22.ergedd.com/video/11777_1508303319421.png","resource":"http://video5lmv.ergedd.com/videos/11777_r_480_20171122143611_fwuc.mp4","play_count":45007672,"age_type":1,"singer":"","rank":10,"album_id":239,"status":1,"iqiyi_fileid":"3cb096dc1e9648cab8d428cb84ac9ba2","min_age":0,"max_age":8,"created_at":"2017-06-13 18:49:59","updated_at":"2018-02-11 15:08:08","deleted_at":null,"copyright_sensitive":0,"duration":200.768,"publisher_id":4,"download_type":1,"copyright_contract_id":16,"copyright_contract_start_date":"2016-12-10","copyright_contract_end_date":"2018-12-09","search_keyword":"","is_vip":2,"srt_file_url":""}
         */

        @SerializedName("id")
        private int id;
        @SerializedName("rank")
        private int rank;
        @SerializedName("item_type")
        private String itemType;
        @SerializedName("item_id")
        private int itemId;
        @SerializedName("video")
        private VideoBean video;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

        public String getItemType() {
            return itemType;
        }

        public void setItemType(String itemType) {
            this.itemType = itemType;
        }

        public int getItemId() {
            return itemId;
        }

        public void setItemId(int itemId) {
            this.itemId = itemId;
        }

        public VideoBean getVideo() {
            return video;
        }

        public void setVideo(VideoBean video) {
            this.video = video;
        }

        public static class VideoBean {
            /**
             * id : 11777
             * name : 别人的东西我不拿
             * image : http://img5g22.ergedd.com/video/11777_1508303319421.png
             * resource : http://video5lmv.ergedd.com/videos/11777_r_480_20171122143611_fwuc.mp4
             * play_count : 45007672
             * age_type : 1
             * singer :
             * rank : 10
             * album_id : 239
             * status : 1
             * iqiyi_fileid : 3cb096dc1e9648cab8d428cb84ac9ba2
             * min_age : 0
             * max_age : 8
             * created_at : 2017-06-13 18:49:59
             * updated_at : 2018-02-11 15:08:08
             * deleted_at : null
             * copyright_sensitive : 0
             * duration : 200.768
             * publisher_id : 4
             * download_type : 1
             * copyright_contract_id : 16
             * copyright_contract_start_date : 2016-12-10
             * copyright_contract_end_date : 2018-12-09
             * search_keyword :
             * is_vip : 2
             * srt_file_url :
             */

            @SerializedName("id")
            private int id;
            @SerializedName("name")
            private String name;
            @SerializedName("image")
            private String image;
            @SerializedName("resource")
            private String resource;
            @SerializedName("play_count")
            private int playCount;
            @SerializedName("age_type")
            private int ageType;
            @SerializedName("singer")
            private String singer;
            @SerializedName("rank")
            private int rank;
            @SerializedName("album_id")
            private int albumId;
            @SerializedName("status")
            private int status;
            @SerializedName("iqiyi_fileid")
            private String iqiyiFileid;
            @SerializedName("min_age")
            private int minAge;
            @SerializedName("max_age")
            private int maxAge;
            @SerializedName("created_at")
            private String createdAt;
            @SerializedName("updated_at")
            private String updatedAt;
            @SerializedName("deleted_at")
            private Object deletedAt;
            @SerializedName("copyright_sensitive")
            private int copyrightSensitive;
            @SerializedName("duration")
            private double duration;
            @SerializedName("publisher_id")
            private int publisherId;
            @SerializedName("download_type")
            private int downloadType;
            @SerializedName("copyright_contract_id")
            private int copyrightContractId;
            @SerializedName("copyright_contract_start_date")
            private String copyrightContractStartDate;
            @SerializedName("copyright_contract_end_date")
            private String copyrightContractEndDate;
            @SerializedName("search_keyword")
            private String searchKeyword;
            @SerializedName("is_vip")
            private int isVip;
            @SerializedName("srt_file_url")
            private String srtFileUrl;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getResource() {
                return resource;
            }

            public void setResource(String resource) {
                this.resource = resource;
            }

            public int getPlayCount() {
                return playCount;
            }

            public void setPlayCount(int playCount) {
                this.playCount = playCount;
            }

            public int getAgeType() {
                return ageType;
            }

            public void setAgeType(int ageType) {
                this.ageType = ageType;
            }

            public String getSinger() {
                return singer;
            }

            public void setSinger(String singer) {
                this.singer = singer;
            }

            public int getRank() {
                return rank;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }

            public int getAlbumId() {
                return albumId;
            }

            public void setAlbumId(int albumId) {
                this.albumId = albumId;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getIqiyiFileid() {
                return iqiyiFileid;
            }

            public void setIqiyiFileid(String iqiyiFileid) {
                this.iqiyiFileid = iqiyiFileid;
            }

            public int getMinAge() {
                return minAge;
            }

            public void setMinAge(int minAge) {
                this.minAge = minAge;
            }

            public int getMaxAge() {
                return maxAge;
            }

            public void setMaxAge(int maxAge) {
                this.maxAge = maxAge;
            }

            public String getCreatedAt() {
                return createdAt;
            }

            public void setCreatedAt(String createdAt) {
                this.createdAt = createdAt;
            }

            public String getUpdatedAt() {
                return updatedAt;
            }

            public void setUpdatedAt(String updatedAt) {
                this.updatedAt = updatedAt;
            }

            public Object getDeletedAt() {
                return deletedAt;
            }

            public void setDeletedAt(Object deletedAt) {
                this.deletedAt = deletedAt;
            }

            public int getCopyrightSensitive() {
                return copyrightSensitive;
            }

            public void setCopyrightSensitive(int copyrightSensitive) {
                this.copyrightSensitive = copyrightSensitive;
            }

            public double getDuration() {
                return duration;
            }

            public void setDuration(double duration) {
                this.duration = duration;
            }

            public int getPublisherId() {
                return publisherId;
            }

            public void setPublisherId(int publisherId) {
                this.publisherId = publisherId;
            }

            public int getDownloadType() {
                return downloadType;
            }

            public void setDownloadType(int downloadType) {
                this.downloadType = downloadType;
            }

            public int getCopyrightContractId() {
                return copyrightContractId;
            }

            public void setCopyrightContractId(int copyrightContractId) {
                this.copyrightContractId = copyrightContractId;
            }

            public String getCopyrightContractStartDate() {
                return copyrightContractStartDate;
            }

            public void setCopyrightContractStartDate(String copyrightContractStartDate) {
                this.copyrightContractStartDate = copyrightContractStartDate;
            }

            public String getCopyrightContractEndDate() {
                return copyrightContractEndDate;
            }

            public void setCopyrightContractEndDate(String copyrightContractEndDate) {
                this.copyrightContractEndDate = copyrightContractEndDate;
            }

            public String getSearchKeyword() {
                return searchKeyword;
            }

            public void setSearchKeyword(String searchKeyword) {
                this.searchKeyword = searchKeyword;
            }

            public int getIsVip() {
                return isVip;
            }

            public void setIsVip(int isVip) {
                this.isVip = isVip;
            }

            public String getSrtFileUrl() {
                return srtFileUrl;
            }

            public void setSrtFileUrl(String srtFileUrl) {
                this.srtFileUrl = srtFileUrl;
            }
        }
    }
}
